package ar.edu.unq.leezsi.core;

import java.io.Serializable;
import java.util.Date;

public class Session implements Serializable {

	private static final long serialVersionUID = 1L;
	private final String id;
	private Date lastTimeStamp;

	public Session(String sessionId) {
		this.id = sessionId;
		this.lastTimeStamp = new Date();
	}

	public final String getId() {
		return this.id;
	}

	public final Date getLastTimeStamp() {
		return this.lastTimeStamp;
	}

	public final void setLastTimeStamp(Date lastTimeStamp) {
		this.lastTimeStamp = lastTimeStamp;
	}

}
